<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libBigWig: bwZoomHdr_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libBigWig
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">bwZoomHdr_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>BigWig files have multiple "zoom" levels, each of which has its own header. This hold those headers.  
 <a href="structbwZoomHdr__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="bigWig_8h_source.html">bigWig.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a7045125541f372d6521700d6fff6d75f"><td class="memItemLeft" align="right" valign="top">uint32_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwZoomHdr__t.html#a7045125541f372d6521700d6fff6d75f">level</a></td></tr>
<tr class="separator:a7045125541f372d6521700d6fff6d75f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49e66d83c3d0c381c647ce281a2ec80b"><td class="memItemLeft" align="right" valign="top">uint64_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwZoomHdr__t.html#a49e66d83c3d0c381c647ce281a2ec80b">dataOffset</a></td></tr>
<tr class="separator:a49e66d83c3d0c381c647ce281a2ec80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d7a1c8741ecbecde64f462267f0f116"><td class="memItemLeft" align="right" valign="top">uint64_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwZoomHdr__t.html#a8d7a1c8741ecbecde64f462267f0f116">indexOffset</a></td></tr>
<tr class="separator:a8d7a1c8741ecbecde64f462267f0f116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bcd89608bfc17b5432d6ca9b2374d7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structbwRTree__t.html">bwRTree_t</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbwZoomHdr__t.html#a8bcd89608bfc17b5432d6ca9b2374d7a">idx</a></td></tr>
<tr class="separator:a8bcd89608bfc17b5432d6ca9b2374d7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>BigWig files have multiple "zoom" levels, each of which has its own header. This hold those headers. </p>
<p>N.B., there's 4 bytes of padding in the on disk representation of level and dataOffset. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a49e66d83c3d0c381c647ce281a2ec80b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49e66d83c3d0c381c647ce281a2ec80b">&#9670;&nbsp;</a></span>dataOffset</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t* bwZoomHdr_t::dataOffset</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The offset to the on-disk start of the data. This isn't used currently. </p>

</div>
</div>
<a id="a8bcd89608bfc17b5432d6ca9b2374d7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bcd89608bfc17b5432d6ca9b2374d7a">&#9670;&nbsp;</a></span>idx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbwRTree__t.html">bwRTree_t</a>** bwZoomHdr_t::idx</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Index for each zoom level. Represented as a tree </p>

</div>
</div>
<a id="a8d7a1c8741ecbecde64f462267f0f116"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d7a1c8741ecbecde64f462267f0f116">&#9670;&nbsp;</a></span>indexOffset</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t* bwZoomHdr_t::indexOffset</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The offset to the on-disk start of the index. This <em>is</em> used. </p>

</div>
</div>
<a id="a7045125541f372d6521700d6fff6d75f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7045125541f372d6521700d6fff6d75f">&#9670;&nbsp;</a></span>level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t* bwZoomHdr_t::level</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The zoom level, which is an integer starting with 0. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bigWig_8h_source.html">bigWig.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 8 2020 13:48:36 for libBigWig by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
